package slxy.jiangtao.dts.entity.sys;

import org.hibernate.annotations.DynamicInsert;
import slxy.jiangtao.dts.core.common.bean.BaseId;

import javax.persistence.*;

/**
 * Code must be sexy
 * Created by Jiang Tao on 2017/5/5.
 * 说明：年度列表数据字段
 */
@Entity
@Table(name = "dictionaries_year", schema = "dts")
@DynamicInsert
public class DictionariesYear extends BaseId{
    @Basic
    @Column(name = "name")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
